import request from '@/utils/request'

// 获取面经列表api
export const getArticleAPI = params =>
  request({ url: '/admin/interview/query', params })

// 获取面详情api
export const getDetailAPI = params =>
  request({ url: '/admin/interview/show', params })

// 添加面经列表api
export const postArticleAPI = data =>
  request({ url: '/admin/interview/create', method: 'post', data })

// 修改面经列表api
export const putArticleAPI = data =>
  request({ url: '/admin/interview/update', method: 'put', data })

// 删除面经列表api
export const delArticleAPI = data =>
  request({ url: '/admin/interview/remove', method: 'delete', data })
